const API={
	  PRODUCTS_LIST:'products/list',   //封装所有商品数据
	  PRODUCTS_ADD_WISHLIST:'products/add/wishlist', //添加收藏
	  PRODUCTS_REMOVE_WISHLIST:'products/remove/wishlist',//删除收藏
	  PRODUCTS_WISHLIST:'products/wishlist', //查询商品收藏
	  USERS_ADD_HISTORY:'users/add/history', //添加历史足迹
	  PRODUCTS_INFO:'products/info', //商品详情数据
	  CART_ADDITEM:'cart/additem',//加入购物车请求
	  CART_LIST:'cart/list', //请求购物车的数据
	  CART_UPDATEITEM:'cart/updateitem', //更新购物车
	  COMMENTS_LIST:'comments/list',//查询所有用户评价
	  COMMENTS_UPDATE:'comments/update',//更新我的评价
	  COMMENTS_INDEX:'comments/index', //请求我的用户评价
	  CART_REMOVEITEM:'cart/removeitem', //删除购物车单条数据
      CART_REMOVEALL:'cart/removeall', //删除全部的购物车数据
      ORDERS_ADD:'orders/add', //提交订单
	  ORDERS_LIST:'orders/list', //获取所有订单数据
	  ORDERS_INFO:'orders/info',//订单详情数据
	  ORDERS_DEL:'orders/del', //删除订单
	  USERS_CONTECT:'users/contect', //我的收获地址请求
      USER_UPDATE_CONTECT:'users/update/contect', //更新地址
      UAERS_ADD_CONTECT:'users/add/contect',//新增地址
	  USERS_REMOVE_CONTECT:'users/remove/contect', //地址编辑请求
      USERS_CHECKUSER:'users/checkuser', //登录
	  USERS_REGISTER:'users/register' ,//注册
	  USERS_ISHAS:'users/ishas' //判断用户名是否重复
}

export default API